package com.gotop.common.tenant;

import com.gotop.common.utils.ApplicationStringUtils;
import com.gotop.common.utils.RandomType;
import org.springframework.stereotype.Service;

/**
 * @program: cem
 * @description:
 * @author: superfish
 * @create: 2020-12-25 11:26
 **/
@Service
public class BaseTenantId implements TenantId {
    public BaseTenantId() {
    }

    public String generate() {
        return ApplicationStringUtils.random(6, RandomType.INT);
    }
}

